import { rCrmRequest } from '@core/utils/request';

interface CheckServiceEnabledParams {
  serviceTag: string,
  resourceType: string,
  accountId: string,
}

export default class ReconstructionCrm {
  static hasAccountSubscribedService = (params: CheckServiceEnabledParams) => {
    return rCrmRequest.get<CheckServiceEnabledParams, boolean>(
      'ctcloud/ReconstructionCRM/repeatValidateApi',
      { params },
    );
  };
}
